$(function () {
    var captchaUrl = $("#captchaImage").find('img').attr('src');

    //切换验证码
   $("#captchaImage").on('click',function () {
       var $then = $(this).find('img');

       $then.attr('src',captchaUrl + '?_=' + (new Date().getTime()));
   }) ;
});